replace System.out with slf4j
copy hasMarkedValue and getMarkedPaths from Contexts to ContextUtil