Working edits to JSON plugin