Pipeline:Rest - Add ability to set contentType and dataType during pipe creation. Fixes AGJS-31