Code update

Converting from using XML to JSON for requests - Ongoing