code: private Object getJson(String jsonAsString) {
          try {
              return objectMapper.readValue(jsonAsString, Object.class);
          } catch (Exception e) {
              logger.info("Unable to parse (json?) string: {}", jsonAsString, e);
              return jsonAsString;
          }
      }
docs: Used to obtain a JSONified object from a string
  
  @param jsonAsString the json object represented in string form
  @return the JSONified object representation if the input is a valid json string
  if the input is not a valid json string, it will be returned as-is and no exception is thrown