Added paths option to make special concatenating dispatch rules. Handy for serving js api's