JsonRpcServer now checks an array of legal content-types