added optional json provider
updated version, removed provider