Integrate zk serializer into synchronous set
Fix type signature of `ZKSerializer.decode`