Getting data from an iMessage bubble

I’m working on an app where I want to use iMessage to share the locations of several members in a group. The basic idea is that a “group master” or coordinator will broadcast a request to the members, asking them to return their current location coordinates. The group members will all have the same message extension, which will get the coordinates from the system and send them back as an iMessage to the coordinator. This is easy to do. But when the coordinator receives the return messages (in the didReceiveMessage function), I want to “unpack” the messages, and use the coordinate data elsewhere in the app.
Is there a solution for the unpacking? Is there a way to get inside the iMessage?