JSON plugin: Added .txt as valid file extension

This might be something only I need (#262) but putting it out there for you to decide. This small fix allows you to save .json as .txt on OSX since it is added as a valid file extension for Json files.