WIP on XML Encoder/Decoder