add a protobuf serializer to fsm
Merge pull request #19 from sclasen/protobuf-serializer

add a protobuf serializer to fsm