Add an extra field to string output for "type" information