Encode Go objects as XML property lists