Add toJson() method in SolariDriver class