fixed deprecated json import