I understand what you are saying Liam, but this does not solve this problem.
As long as the module does not output the data (in any form, JSON or otherwise), you cannot capture it and use it in the template. The problem still remains of data being made available in modules (as the example given at the beginning of the thread). Once this is done, many things can be done, including things like you describe.
-Lucian