Parameterize the JsonProvider.
Move JsonProvider to proper file.