Serialisation methods for dungeons