Initial implementation of Thrift Serializer