initialize internal json