Add a function for separating the config path from the value to path validator.
This is required for session set operation.