MAP-916: refactor report service to not use jdbc.