Add support of nil value and empty value tag (issue #17)