SSP-1531 Add return node to getItemsWithParams function