return to inherits in json2xml