each_with_object reverses call signature