Allow for auto-generated mappings of JSON docs

Inspired by https://github.com/dadoonet/fsriver