Fix file JSON response