private static String getClassName(Object object) {
    return null != object ? object.getClass().getName() : null;
  }
Converts {@link Configuration} objects to a collection easily serializable to Json
@param configuration the configuration to convert
@return the resulting collection
ambari-server/src/main/java/org/apache/ambari/server/topology/ConfigurableHelper.java