re-package json service layer