add multi json for options dumping in post request

options were not being handled correctly since they were not escaped
properly.
Merge pull request #6 from jasontruluck/bug-fix-for-posting-with-options

add multi json for options dumping in post request