Refactor JSON configs to have dedicated tree generation

When the user now specifies the tree generation methods, they have to
place that inside a JSON Object with key “tree_generation” for it to be
recognised. Instead of dispersing the details at the root of the JSON
config file.