fix bug in application/json serialization of members