[4.2] Http : add getJsonOptions to JsonResponse

Also add missing tests for `setJsonOptions `