zip keys and values together into objects