Add a ToJSON instance for Language