cast object to dict
printing dict object