converting GCM protobuf to pojo