Switch the kind of json_type to dynamic instead of string