Add implode for multi-dimensional arrays