JSON is requests and responses are woven throughout this module. I suggest that requests should be interrogated (the Accept header) to determine the desired request handling/response format. If the module is unable to handle the format, a 406 Not Acceptable response should be given.