RepositoryService: Update ReportUnit class to handle resources field separately to hide behind the scenes mapping. Fixes #35912