Write sub_alarms and metrics JSON in snake case instead of camel case. Change-Id: I57985fd76052c34cdde8f779aca887ccafa7ae47