Adds to_hash method to Reader instances