Only add hal specific formats
Use getRequestFormat() instead of reading from attributes