Fixing problem where too many training points transferred as an intent payload were causing it to fail. The fix infolves parsing the JSON string first and passing (a reference to) the generated map as a payload.