Move `loadJSON` to CLI

Now it's easier to use the library as a module as data can be passed "as
is".
0.1.4