def get_marker_data(self):
result = []<EOL>for group in self.groups.all().prefetch_related('<STR_LIT>'):<EOL><INDENT>result.append(group.to_dict())<EOL><DEDENT>return result<EOL>
Provide the marker data for the frontend/template