a bit of const correctness changes for path and value strings to make users lives easier