Maps this value to a host array using the map function on each element, failing if it is not a guest array.