There is a migration tool available in the Camber repo. Perhaps you could use it as a starting point
More info here: