Fix doc on json serialization.