KNOX-310: Parsing of JSON response for rewriting failing
(cherry picked from commit db0e17886fe58b7a3aa5973630b2e9c737f60c8e)