implement logic for parsing ocpp versions