Corrected conversion of dropdownCss and containerCss fields to JSON from writeObject to writeFunction