_manageRecursivePointer (schema, path) {
    Object.keys(schema).forEach(i => {
      if (schema[i] !== null && schema[i].$ref && schema[i].$ref.indexOf('#') === 0) {
        schema[i].$ref = path + schema[i].$ref
      }
    })
  }
Rewrite the passed schema's JSON pointers to prepend with the current reference's path, so that it will be converted to a reference "counter".

@example
In file "../otherreferencedfile.json", referenced from "schema.json":

"$ref": "#/definitions/myschema" => "$ref": "../path/to/my/referenced/schemafile.json#/definitions/myschema"
  ...which will then be parsed later in loadExternalReferences() to "$ref": "#/counter/1#/definitions/myschema"

@param {object} schema - A JSON Schema with the definitions key present.
@param {string} path - Base path from which to store the definitions in refs. (exemple ../path/to/my/referenced/schemafile.json)
  Typically the URI of the schema.