fixing issue with non json bodies
Merge pull request #239 from creighton/fixdocuments

fixing issue with non json bodies