Issue/edrei 13196 invalid content type for v3

This pull requests shows only the differences to the already made changes which are still not part of master.

Reviewers: @emvavra (PHP,...), @efwilhelmstoetter  (Java)