From: Christopher Piggott <cpiggott_at_gmail.com>
Date: Thu, 23 Dec 2010 16:47:03 -0500
stupid me, I was returning in that loop, rather than just recursing :(
The question still outstanding is whether or not this is a good way to
accomplish this... making a non-XML representation of what would
otherwise be called the WADL.