updated json package for npm