Accept string or JSON as init args