def json(self) -> list:
json_controls = [control.json() for control in self.controls]<EOL>return json_controls<EOL>
Returns list of json compatible states of the RichMessage instance
        nested controls.

        Returns:
            json_controls: Json representation of RichMessage instance
                nested controls.