fix rakefile
fix deserializer
fix deserializer
add initial version of serializer