change dep json stuff
refactor