store data as JSON object, small tweaks

I have been continuing to improve many aspects of my code for clients using Checkfront. Hopefully these simple updates will help a few people. Keeping the JSON object as it is sent from Checkfront is the reason for this pull request.