Converts to JSON.
Returns either a string ("auto"/"disabled") or a Map.
"auto"
"disabled"
Map
Object toJson();