different serializers used for arrays of structs