Allows plugins to create a nice editor for JSON content -- not easy to do if we don't expose this through the QGIS api!