change depricated json package