Add toJSON for CreateContainerReq