omit parameters whose values are undefined or equal to "null"