Nesting document and Block Join query