Wildcard headless msgs

fixed wildcards to provide more informative messages in text mode (json, text, das_client,...). 
P.S. in json, for backward compatibility with das_client messages are added to "reason" field