Changes to support ckanext-report extension