Made package json functional