Update for.coffee

turn objects into list of pairs