remove null properties from POSTs