add json parsing tests
cleanup imports