tojson for cs/info