Inferring field type by map value type.