Python Print Object As Dictionary