Remove <html> <head> and <body> from SMF output