use json as format of container