for those still having this issue. This worked for me
WebOperationContext.Current.OutgoingResponse.ContentType = "application/json";
throw new System.ServiceModel.Web.WebFaultException(
new Response(false,"was not found", ""),System.Net.HttpStatusCode.BadRequest);