Now takes input from console, outputs to JSON (multiple times until certainty can be worked out