Allowing for (de)serialising lists of objects; storing source package for class so that it can be autoloaded on deserialisation