Updated gsi tojson and projection tojson