add JSON file and view