Changing script to just use plain jsons