Add gohai metadata to payload when needed