[Koha-bugs] [Bug 44035] Negotiate request and response body formats in the REST API, replacing the XML/JSON hooks