hack uglify to format json properly