Add StringToLongConverter for automatic handling of long values (#12291)

Change-Id: Ia2865b199303c0e35b562120f1c916f288aa458a