allow unicode text in metadata

The metadata keys and values should explicitly allow unicode text