UI-903: Check if the 'numbers' parameter is an array before converting it
to an object