Port repository direct/xo to groovy
repo -> result
@ToString for XO