Created JSON that returns branches, and label classes for the branch