this will be replaced with a new (de)serialiser that won't use another library's data structures as an intermediary.