chore: Update patricia_tree dependency, remove manual serde impls (#85785)
Recent versions of `patricia_tree` have their own serde implementation which is more efficient than what we can do because it serializes the internal nodes in the tree, rather than the public observable key/value entry API.