How to get all erpnext module list details in json format using api?

how to get all erpnext module list details in json format using api?