Encode `project` as a string