standardize hash syntax