APIKIT-217: http.status stored as Integer causes ClassCastException
(cherry picked from commit a2cf13a7842a8c446e10a1f3e7b3acbad563f50d)
APIKIT-248: Api Endpoint failing when being invoked without "Accept" header
(cherry picked from commit 91e30e4c5d36e7a5123841ef5234bf68c46a1eb3)