Include xml attributes in json to avoid excluding data.