Handle Structs in the serializer