add variables types in error message of twig_array_merge