Changed the resolution from a string to a dictionary