Fixed arguments serialisation errors

Fixes issues reported at #4.

PS: The tests are still failing because of a missing require in activejob