And I upgraded Mattermost to 3.5.1 last night - still have the same problem with the very same JSON... Works when sent to an incoming webhook, but fails as a response to a custom command.
Perhaps I need to just send back an empty response and setup an incoming webhook channel for responses in the meantime, but it seems unnecessarily complex as a solution.