Attempt at outputting clean code to client