Allow for specifying a blacklist in array_to_json.