HBASE-11603 Apply version of HADOOP-8027 to our JMXJsonServlet