Allow getSchema() to recurse down into $ref'd schemas