adding option to add pre-serialized json/xml as body parameter