Bug fix: Auto escaping does not work with mapper objects (Issue #710)