Added JSON File Output

Corrected year filter