Improve the JSON stuff a bit. Add an update to allow updating one JSON instance with another