code: public static Properties getFromInstanceConfig(InstanceConfig defaultInstanceConfig)
      {
          PropertyBasedInstanceConfig     config = new PropertyBasedInstanceConfig(new ConfigCollectionImpl(defaultInstanceConfig, null));
          return config.getProperties();
      }
docs: Return the default properties given an instance config
  
  @param defaultInstanceConfig the default properties as an object
  @return default properties