Modified the json file writing code to have different color for cluster centers.