this gem uses your rails models' associations to query the database directly for the json data you need.