Update utils.js

make output in GA more readable by keeping as json object