added try/catch to fix mono fail of IsValid

Added Try/Catch around the TryParse of DynamicDictionaryValue to solve issue where Mono returns True for IsValid causing the method to throw when it shouldn't.