Don't update metadata maps with nested nulls.

- Add more tests and assertions
Merge pull request #52 from MastodonC/feature/sensor-metadata

Don't update metadata maps with nested nulls.