programmatically setting JSONProvider properties