NXP-14790: improve treatment of empty lists/arrays, equivalent to null or no value