replace usage of JsonProviderFactory in other modules