more OO unmarshal
more OO unmarshal
add support for single reference