JSON parameter read/write, and tweaks elsewhere