code: function expandPath (path, replacements) {
    return R.toPairs(replacements).reduce((path, [key, value]) => path.replace(`{${key}}`, value), path)
  }
docs: Perform path string interpolation
  @static
  @rtype (path: String, replacements: Object) => String
  @param {String} s - String to convert
  @return {String} Converted string