split vs json unmarshal