[Raji] Schema validation only if response is of type JSON
[Raji] Modified the response status to show status message