S-Exp domain model and serialisation framework