My goal is to prepare endpoint. Based on params I want to add data from another table - if it is true include if not don\'t include. To do that I assume I need to create joi