Added attrKey option for json2xml and added tests