Utility for converting objects and hashses to resque safe passable arguments