validate JSON passed to MethodResult