fields_get returns 'null' for field attributes when an attribute is not specified
Since revision1094d993d89c field_get will return 'null' for attributes that default to None. I noticed it because O2M field will always display the search related to the add_remove attribute even when this attribute is not set.
The patch restore the previous behaviour of removing those attribute when they evaluate to None.