I believe you want, `page.getProperties()` here .. rather than the `ValueMap` of the `cq:Page` node?