Access json parameters javascript

I have a very simple problem that I can’t solve. Se screenshot below and the related error. I’m trying to access the parameters in metadata but I get and uncaught type error because i’m referencing it incorrectly. How do I reference jobName inside of metadata?

enter image description here