Use an object to look up keys