Remove unused json imports; move json imports to utility

Fixes #7