fix work with json