Add ToString() implementations to the JavaOption class for easier debugging