properly deal with Json serialization field