Fix some bad typing for user input; now it's a JSON object that parses into something usable.