Preserve the order of fields as declared in serializers

thanks, @jakob-o
Merge pull request #140 from ariovistus/preserve-field-ordering

Preserve the order of fields as declared in serializers