Entirely a matter of preference - but you could avoid using the (ugly) `_1` `_2` here and also save characters:

    getAll.filter{case (k, v) => k.startsWith(prefix))
          .map{case (k, v) => k.substring(prefix.length), v))