inputToJSON overhaul.