[API Notes] Fix serialization of FactoryAsInit data.

(cherry picked from commit 8099c09e822b238ae700ab27d8a6d45e2b3adcf3)
2 files changed