[#1838] Fix bug where we weren't converting JSON to dicts