fix issues with CGLIB proxies, evaluating String.valueOf(bean) triggers CGLib interception, e.g. Transactional proxy and leads to unexpected behavior.