feat: allow loading of JSON files as modules

Closes #32

Closes #33