plist/xmlplist: improve decoding of arrays and empty values.