supporting JSON input files