code: protected CmsContainerElementBean elementFromJson(JSONObject data) throws JSONException {
  
          CmsUUID element = new CmsUUID(data.getString(FavListProp.ELEMENT.name().toLowerCase()));
          CmsUUID formatter = null;
          if (data.has(FavListProp.FORMATTER.name().toLowerCase())) {
              formatter = new CmsUUID(data.getString(FavListProp.FORMATTER.name().toLowerCase()));
          }
          Map<String, String> properties = new HashMap<String, String>();
  
          JSONObject props = data.getJSONObject(FavListProp.PROPERTIES.name().toLowerCase());
          Iterator<String> keys = props.keys();
          while (keys.hasNext()) {
              String key = keys.next();
              properties.put(key, props.getString(key));
          }
  
          return new CmsContainerElementBean(element, formatter, properties, false);
      }
docs: Creates an element from its serialized data.<p>
  
  @param data the serialized data
  
  @return the restored element bean
  
  @throws JSONException if the serialized data got corrupted