Added the static getHttpStatusJsonResponseEntity method to HttpResponse and unit tests.