private String getFormattedJSONPrimitiveString(JsonPrimitive jsonValue) {
    return jsonValue == null ? null : String.format("'%s'", jsonValue.getAsString());
  }
Perform steps to move data from the old repo_version.repositories structure into new tables -
repo_os, repo_definition, repo_tags

@throws SQLException
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog270.java