Convert function metadata to text