Converting to correct protocol buffer format.