Migrate to oslo.serialization

Change-Id: I0889cce19ecf336fefe93e603454b25eded32812
Merge "Migrate to oslo.serialization"