Refactor JavaProcessor to generate json info files instead of HTML.