Rest-frame UV spectroscopy of extreme [OIII] emitters at 1.3 < z < 3.7: Toward a high-redshift UV reference sample for JWST