fixes issue of duplicate fields being returned when parameters uses different paramType's (method params vs docstring params)