Using a json file for WorldMap plugin


I want to provide location data for WorldMap plugin with a custom json file, but I don’t know how to create a “json endpoint”, so I just copied that file in the plugin directory (the one that contains countries.json, states.json and probes.json) and restarted Grafana service, but the new file is still not showing up in the location data menu.
Please note that my json file complies to the format mentioned in the documentation.

Any tips/ideas are appreciated.