Send gcode as json