#676: config.py, add 'return schema' code

Resolves #676.