Change return format of view changes

Prior to this commit, added KV pairs would be returned in the format
"add": {"key": "value"}. This would break when keys were not strings, as
that's not valid JSON. This commit changes that format to be "add":
[["key","value"]].