Null check for existing tag
Fixing a NPE scenario. Steps to reproduce:
- Create a record with a
nullvalue fortagsmetadata field - Try to update the record metadata with PATCH api with add or replace operation, with tags
RecordUtilImpl.java will throw NPE at this line
recordMetadata.getTags().putAll(newTags);, because recordMetadata.getTags() will return null