Allow t pass options in the form of JSON string