Added import of json closes #4