this just grabs the domain and filters from the report and queries couch to get the the most recent form of the specified type in range, and then dumps properties from that form directly into the report.