R-created JSON is nasty