Updated grunt file to conform with jslint
Changed indentation to 4 spaces
Added basic capability to export an object as a JSON file