Added file input and output to stdout for Java to JSON script
Replaced spaces in keys with underscores in Java to JSON script