added list coercion for dict.keys() in examples