Introduce a generic version_to_array function