altered rest client to include .to_json in post request
Merge pull request #4 from ProctorCam/test

altered rest client to include .to_json in post request