Simple minifier for JSON to remove comments and whitespace