Use plugin file as array keys
Capabilities check
Restructuring the JSON object for plugins
Capability check for get_plugin