Added a serializer/deserializer changes for metadata and meta.