edit server file to output as json