this turns false boolean field values into nil in the resulting hash