Support for xml attribute handling

Support to handle xml element's attributes . XML attributes are transformed to json attributes where the key contains @ prefix. When json objects are transformed back to xml all json objects with @ attribute are handled as xml attributes.