more flexible options for restful module