Make string marshaling either lax or strict