<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hash_dump(data) -> str: """Hash an arbitrary JSON dictionary by dumping it in sorted order, encoding it in UTF-8, then hashing the bytes. :param data: An arbitrary JSON-serializable object :type data: dict or list or tuple """

    return hashlib.sha512(json.dumps(data, sort_keys=True).encode('utf-8')).hexdigest()