Get array arguments as list. fix #1875