Workaround for import json so it works with osx