#198: Correctly display JSON data.error from python

Resolves #198.