add getters and setters for MetadataKey class