Refactoring javagal.json