shellvar: add support for array values