added json adapter and fixed a bug
added a json adapter, time to start building test data sets