Added new feature: wrap encoded string in yaml