Add json parameter

Closes #2025
Suspect quite a few. The real question is how many do it with positional arguments only. Regardless, let's not offer them a footgun.