lib/java: use Guava collection builders