SERVER-13312 Fix type of operationProfiling.mode
(cherry picked from commit 997eedb2565ac005a7c489d9234813de8b27bc2f)
SERVER-13310 Check error status for nested configuration data
(cherry picked from commit 67fcecca64281afcefce51c61a1f08699145fc56)