returning response with entities avaliable as generator behind entities property