support defaultValue on params and headers
When no default value given, also don't put it in the json.
Merge branch 'pr/77'