automatic removal of JSON elements with the hide_json_attributes directive