REST (not working now, produces empty DTOs)