Fixed NPE when serializing Bandwidth object.

Change-Id: I54a94bce8f0227ee9c3e437457b5a430a75ad748
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Merge "Fixed NPE when serializing Bandwidth object."