How To Handle Applicationjson Content Type With Non-Json Responses In Spring Rest Apis