code: String formatInstanceImports( Instance instance ) {
  
  		StringBuilder sb = new StringBuilder();
  
  		boolean first = true;
  		for( String facetOrComponentName : VariableHelpers.findPrefixesForImportedVariables( instance )) {
  			if( first )
  				first = false;
  			else
  				sb.append(", ");
  
  			// Declare the first ImportedVar,
  			// Eg: "$workers = ..."
  			sb.append( facetOrComponentName.toLowerCase() );
  			sb.append( " => " );
  
  			Collection<Import> imports = instance.getImports().get( facetOrComponentName );
  			if( imports == null || imports.isEmpty()) {
  				// No component has exported the variable this component expected.
  				// put "undef". Example: "$workers = undef"
  				sb.append("undef");
  
  			} else {
  				// The component has received configurations from the others.
  				// Eg: "$workers = { 'workers1' => {...} , 'workers2' => {...} }"
  				sb.append( "{ " );
  
  				for( Iterator<Import> it = imports.iterator(); it.hasNext(); ) {
  					sb.append( formatImport( it.next()));
  
  					if( it.hasNext())
  						sb.append(", ");
  				}
  
  				sb.append( "}" );
  			}
  		}
  
  		return sb.toString();
  	}
docs: Returns a String representing all the imports and their values.
  <p>
  Must be that way:
  <code>
  { importTypeName => { 'importTypeName11' => { 'varName1' => 'varValue1', 'varName2' => 'varValue2' },
  'importTypeName12' => { 'varName1' => 'varValue1', 'varName2' => 'varValue2' } }, $importTypeName2 => undef }
  </code>
  </p>
  
  @param instance the instance
  @return a non-null string