made parseJSON its own module, update calls