Updated example for CybOX v2.0
Added xml version/encoding declaration output to all written documents