Fixing build issues for json provider
first version with full json provider