get first key value pair in dictionary python