add normalized relation and entity to output