fixed failing RESTSerializer tests