What's the reason for the addition of `json_encode`?