added new example of generation and checking nested python dict