Add and use decorator `json_api_edit`
Merge pull request #1665 from RickMohr/json-api-edit

Add and use decorator `json_api_edit`
Make is_plot return True in more applicable cases

fixes #1652 on github
PR Fixup: add tests and simplify