Fix: test parent id when it is zero

Hi, I just noticed that object stream produces wrong `{type: 'test', ...}` row with missing `parent` property for the case when parent id is `0`. This is a quick fix just allowing any data to be written in the field - I don't know how rigid we should sanitize it. As alternative, we could check `if (typeof extra.parent == 'number')`.