Fix for POST issue

fix to allow for JSON objects to be POSTed