added example for get all the circuits in JSON format