metadata: create stringbuilder for metadata