Fixed issue with incorrect importing of json library.