CRM-12877, making report-instance api thinner