Added XML/JSON request content validation methods