Assert for building json that there is given node