Experimental json generator for /surveys