Maven Java project, converting txt to json.