These have a very specific format which should be documented. Reading the documentation it's unclear that the arrays are terminated with a sentinel value, which leads to programmer errors such as elementary/calendar#759 since the value is silently decoded to a Saturday.
I'd like to submit a patch with documentation, but I can't guarantee when I'll have the time to do that.