[serialize] Movce empty-object handling earlier
1 file changed