[python] How to access a dictionary key value present inside a list?