Until recently, 8,000 Massachusetts families with children who were not attending school, who were not responding to parental guidance, or who were struggling with mental health issues, domestic violence or other problems, were routed through the court system each year through the filing of a Child in Need Of Services (CHINS) petition.