Versioned data structures for python