Fixed JsonException.

closes #8