Add support for JSON files (recognized by '.json' suffix).