Fix JSON output format for azure group log show

i think you can just do push, and then check the "length" property below, with this, you can get rid of the  "logEntryIndex" variable