Reorganize the xmlJsonTranslate, close issue #98