add a way to whitelist attributes to serialize.
allow to change the _destroy attribute by setting destroy_action.