Create JsonSchema#findByCollectionName to simplify the middlewares.