[zdf] Add support for hash URLs and simplify (#1518)