public static String serializeForeignKeys(Map<String, String> foreignKeys) {
    return jsonSerializer.toJson(foreignKeys);
  }
Serialize a map of foreign keys to a string.

@param foreignKeys  map of foreign keys to values

@return string representation of the foreign keys map
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ArtifactEntity.java