Add function to extract chat messages.
Add test for extracting json.