Fixed failing serialization by checking for cases where there is only member of a given name
Merge pull request #833 from ColdenCullen/fix-asarray

Fixed failing serialization for @asArray structs.