code: public StringBuffer serializeBundles() {
  		StringBuffer sb = new StringBuffer("{");
  
  		// Iterates over the
  		for (Iterator<String> it = keyMap.keySet().iterator(); it.hasNext();) {
  			String currentKey = it.next();
  			handleKey(sb, keyMap, currentKey, currentKey, !it.hasNext());
  		}
  
  		return sb.append("}");
  	}
docs: Creates a javascript object literal representing a set of message
  resources.
  
  @return StringBuffer the object literal.