out_es: fix replace_dots in array values (#2119)
out_es: fix replace_dots in array values (#2119)

* out_es: fix replace_dots in array values

By creating es_pack_array_content and using it to deal with map values that are arrays, replace dots now runs on the elements of arrays.

Signed-off-by: Naseem <cf9c81bcef7da728d6c66303aa58ca0339ef9bbd@transit.app>

nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit