Fix formatting for HATEOAS