Remove trailing double quotes from maven depdendencies
Escape body content, and avoid template error if body is empty
Don't include content-type header as it's already supplied in request()