add object reader, support \0 in string