Migrate KeyPair object to Fields

Related to blueprint structured-object-fields

Change-Id: Ic1e4116a1ad4efb4b19d7501f7804acecbb02cb9
Merge "Migrate KeyPair object to Fields"