Added parsing of label JSON