Add class that allow python to have nested dictionary