Omit attributes if they are null, undefined or false