code: function convertObject (schema, self) {
    var keys = Object.keys(schema);
    var ret = {};
  
    for (var i = 0; i < keys.length; ++i) {
      var key = keys[i];
      ret[key] = convertElement(schema[key], self);
    }
  
    return ret;
  }
docs: Converts an object containing schemas to a plain object