added published state to hierarchical json data