Return invalid options as strings

Closes  #2308.