edits to json view