Translate object type to enum definition string

Signed-off-by: Prakash Surya <surya1@llnl.gov>