Add Java API SDK Support for project/locale/list: refactoring