It makes me really uncomfortable that we're hardcoding JSON as a string. Why not use the stdlib json library?