Add getJsonOptions to JsonResponse
Merge pull request #5849 from lucasmichot/4.2-http-getjsonoptions

[4.2] Http : add getJsonOptions to JsonResponse