Json wsd is being generated with primitive types and not optional parameters in methods