Extract common functionality to xblock-utils

The default content will work even with this approach.
On the downside, you are right that the full xml content will not be visible under the xblock.