Copy paste error fix.
Adding toJsonString test for EGV record.