JSON converters work now with IDataStoreContext. Fixes #237.

In order to optimise the speed with which the data is imported during sync the JSON converters needed to be able to be executed within a transaction. The initial sync time decreased from 45s to 5s for a test account.