rename some methods in JsonCodec