### Description
Add filter `undefined/null` value when use with utils
**invertKeysAndValues** function
Add more test at `objects.test.ts`
<!--
What's included in this PR?
-->
### Drive-by changes
```diff
return Object.fromEntries(
Object.entries(data)
+ .filter(([_, value]) => value !== undefined && value !== null) // Filter out undefined and null values
.map(([key, value]) => [value, key]),
);
```
<!--
Are there any minor or drive-by changes also included?
-->
### Related issues
None
<!--
- Fixes #[issue number here]
-->
### Backward compatibility
Currently, nowhere call this **invertKeysAndValues** func
<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?
Yes/No
-->
### Testing
Yes, more tests.
<!--
What kind of testing have these changes undergone?
None/Manual/Unit Tests
-->
---------
Co-authored-by: J M Rossy <jm.rossy@gmail.com>