fixes #7802, when api version 1.11 is `json.Marshal`ing the container st...

fixes #7802, when api version 1.11 is `json.Marshal`ing the container struct

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>
We should add a same-line comment to say that this is needed for the remote api version <= 1.11