VoiceSettings.java: Add support for converting to a JSON object.