You can use the get() on each dict. Make sure that you have added the None check for each access.
2.1m questions
2.1m answers
60 comments
57.0k users