template doc with return
added is_child_of for document
made template import working, sort nameserver on json creation