Python Add Element To Json Array Length In C