Added 'json' extension support for determining mime type