Support no or custom rest extensions, add content-type header