Mods to the toggle between thumbnails and JSON