remove unused imports, some code style
fix json imports
Merge pull request #333 from hellysmile/master

remove unused imports, some code style