removed name method arg due to #27
Merge pull request #29 from VQComms/BodyParamNameRemoved

Removed name option on body param as this is handled by #27.
Always use type field in parameter objects
Added some guarding for parameters
Added ToParameter unit tests