moving json to package object; logging