updating /print to write json to browser