change from using yaml to json to account for HTTParty's removal of yaml
support