Added array serialization
Added default serializer for struct objects
Reduced serializer contract