public void pageParametersToHints(final PageParameters pageParameters, Map<String,String> hints) {
String hintsStr = PageParameterNames.ANCHOR.getStringFrom(pageParameters);
if(hintsStr != null) {
try {
Memento memento = new MementoServiceDefault().parse(hintsStr);
Set<String> keys = memento.keySet();
for (String safeKey : keys) {
String value = memento.get(safeKey, String.class);
String key = safeKey.replace('_', ':');
hints.put(key, value);