Add support for JSON notation in feature file.

... and add some unit test.