Replacing _json with serialize method #3895

Review ID - 2833002