add url args merger util function
add routing parameters and improve result parsing in index function