configuration via json object