Fixed missing json parameters crashing the program instead of dumping error messages.
Updated README.md to reflect the fact that the json string has to be passed to the executable pre-escaped.