Workaround ghcjs bug in Generic deriving for aeson
Fix request method