fix: xml was being json encoded