add  key to dump and record object