[nim] Now, vehicle objects can be serialised and deserialised for sotrage in redis and retrieval therefrom in a form that is easier to use in python