[TASK] Fix handling of string return values, add new example for HTML