Merge "Revert "Recommend writeTypedObject()"" into main