Convert Contries to the new doc format