code: function applyGetters (self, json, type, options) {
    var schema = self.schema
      , paths = Object.keys(schema[type])
      , i = paths.length
      , path;
  
  
    while (i--) {
      path = paths[i];
      json[path] = clone(self.get(path), options);
    }
  
    return json;
  }
docs: /*!
  Applies virtuals properties to `json`.
  
  @param {GraphObject} self
  @param {Object} json
  @param {String} type either `virtuals` or `paths`
  @return {Object} `json`