Am trying to do a simple if/then/else using JMESPath
For example: \'if the input is a string, return the string, else return the "value" property of the inp