saving json objects for containers