fix for printing unicode in metadata