OMG got serialisation to work!