Transfer POM as String instead of StringBuilder.

String is a value object and therefore better suited for transferring
data, because it cannot be altered.