Simple minifier for JSON to remove comments and whitespace (node.js and browser)