Broke json function out into another file from proof.
Determining what modules are required.
Added module.exports. Removed exports and  JSON Function