code: public static String toJson(HppResponse hppResponse) {
  		try {
  			return hppResponseWriter.writeValueAsString(hppResponse);
  		} catch (JsonProcessingException ex) {
  			LOGGER.error("Error writing HppResponse to JSON.", ex);
  			throw new RealexException("Error writing HppResponse to JSON.", ex);
  		}
  	}
docs: Method serialises <code>HppResponse</code> to JSON.
  
  @param hppResponse
  @return String