minor changes

- As discussed we won't pass empty in the json utils.

- Adding two more methods in PackageUtils.