Java: join() returns Object [ ] instead of String [ ]