Get rid of deperacted method usage in PropertySerializer

Change-Id: I8991f09582850db51dcf52437edfa2a61f6d9df5
Merge "Get rid of deperacted method usage in PropertySerializer"