How to get application name from deployment uuid?

As part of my requirement, I need to get application name by passing deployment uuid. I am trying a!deployment(uuid,"application") which is returning application id and name which is of type application.

I am not able to cast the application type object to string to fetch the application name. 

  Discussion posts and replies are publicly visible