Add explicit !!str tag for version field to avoid parsing it as float

Otherwise versions like '0.30' are parsed to float(0.3).