JSON#prettyPrint now throws an exception if you try to feed it an object.