option to enter json metadata to set state