convert to string before save to mongoose model