Keys don't need quotes.  Also could refactor the function to be one return statement.