Fixes issue #628 & issue #629

Allows using integers and booleans in both query for GET-requests and body for POST-requests