HDFS-7426. Change nntop JMX format to be a JSON blob.

(cherry picked from commit fa7b9248e415c04bb555772f44fadaf8d9f34974)