Added additional configuration switch to enable 'lenient' JSON serialization mode