Add option json_serialize to serialize values in json as :name, :text or :value (default  is :value)