Dynamic loading for dreams and mutations.

Also started moving the updated json files from `data/raw` to `data/json`, and made some minor improvements to json.cpp.