escape debug html output
fix accumulator when mapping a context into an sql query. without this fix, anything before an empty-valued kv in the context would be ignored