Now handles objects with null-valued properties or fields.
When inserting, it ignores properties/fields.
When updating, it deletes the properties/fields.