test.py now checks that all json files are valid json