Compatibility fix

minify_json was being called incorrectly, resulting in an exception
being thrown. Fixed.