Refactoring to read datasets from json object.
Merge branch 'master' of github.com:NCPP/NCPP