Add toJson() method in TLE class.