add a to_hash methods that reports the state of the qless job