Add rpc.serializeFinalFields flag.

Change-Id: I086e80335e15e14dc383ff4744ce29709c81fa81