Build URL from template and params Map just in a few lines of Scala