Refactored answer files to JSON