Add .json to filenames and basic logging for each request.