title: Preventing python from terminating if json data not found
body: <p>While iterating through json there are some files which does not have the field i am parsing (using iterator as <code>test_category_list = [info["Test Caps"][0]]</code> ). Python is terminating the execution with error <code>KeyError: 'Test Caps' .</code> I wanted give a default test_category_list if no key found. How I will do that in python ?</p>