expose functions dump_value and dump_string
small improvements/fixes when working with IPC tree