fixed marshallers and unmarshallers for collections together with some major reworks to make them work