Script to convert filtered photos to json for web app