Support Self
inside fields that use serialize_with
#1970
Merged
Self
inside fields that use serialize_with
#1970