Need to accept also JSON with specified encoding. Using MediaType.isCompatible