[BISERVER-10202/10203] Fix encoding when importing metadata.
Merge pull request #966 from tkafalas/feature

[BISERVER-10202/10203] Fix encoding when importing metadata.