fix-#734: set attribute to None does not work (at least for fields with default values). Solves #735 as well