swift-sim: handle empty string for content
swift-sim: handle empty string for content

Before, adding an object with {content: ''} was different from adding
an object without setting content at all.

mgeisler/swift-browser,mindware/swift-browser,zerovm/swift-browser,mindware/swift-browser,zerovm/swift-browser,mgeisler/swift-browser