write package versions metadata