Enable non-object JSON bodies

Updated JSON requests so they can contain bodies that are not objects