AJ::Base.queue_adapter improvements

@cristianbica this is https://github.com/rails/rails/pull/16968
We have 4 lines like this. Maybe let's put return it from a method like `job_hash(job)` ?