Json serialization work.