Input + Output from json file