about 80% into refactoring Java to JSON serialization.