uri templates and multiple responses handling