Fixing commas not being added before outputing empty animation or bone sets.