Generate config files from persist-mongo-template collections, that can be used with directed-key router