convert literal object to string