Switched over to json input for greater flexibility.  Almost ready for data processing.