Got some basic deserialisation working