Fix mistral to handle JSON text with single quotes

If result is JSON text in str type and uses single quotes, mistral throws error on converting the result back to JSON. Add a literal_eval to gracefully handle the JSON text.
Merge pull request #816 from StackStorm/STORM-849/fix-mistral-callback

Fix mistral to handle JSON text with single quotes