use "require" for json parsing, rather than "fs" and "JSON" methods