Understanding the World to Solve Social Dilemmas Using Multi-Agent Reinforcement Learning