fix again File.toJSON() for fixing 'None' values