Simple utility to create a object literal which has the same values as the key names.