Write to payload as html