fixing incorrect json format
fixing incorrect json format
moved discover master for cluster to the healthchecker