tests on JSON object and some refinement
try to pull and push after being transferred to pryv repo.
Merge branch 'master' of https://github.com/pryv/cli