fix json default value
manually support parameters that can be None, fix