Stub the to_hash databag call, for other tests