Add whitelist of attributes to Model::array_to_json.