Look Before You Leap: Using Serialized State Machine for Language Conditioned Robotic Manipulation