Thread safety for Note class

The underlying JSONObject for `Syncable` subclasses needs to have synchronized access for read and write operations.