Fix tests that relied on es_app_to_dict returning id as string

We changed this in 4234db8