Implement Struct serializer as OrderedMap