Mark inputFiles and stdin as optional in FromJSON