modified deserialisation to start to support basic
lists