Added support for pulling out mock data as JSON using nodejs

This can be used to populate the backend webserver to keep testing in-sync.

See the `test/README.md` for more info.

This PR contains all the commits in #102