support multiple records in response
replace references to child records with their instances
don't deference references to the primary object
make example work with default demo database, also idempotent