Correct misuse of helpers#extend

Was causing issue with concurrent, different requests where Content-Type would
be set incorrectly.
Merge pull request #1 from hybridgroup/fix/multiple-requests

Correct misuse of helpers#extend