implement as_json for Job serialization using JSON

Implement `#as_json` to be serialized as a string, in JSON-based job serializer such as Resque. This addresses https://github.com/rails/activejob/issues/95