fixed json serialization bug introduced on former commit Change-Id: I5120dc11d0b0e76c1529da1c420229c8e58d4495