Only set uglify options if not already the default
Ref 2263134b: Better identify potential JSON. Close gh-1401.