Transform internal deserializer state processing helpers to wl_array