Added exception to protect_from_forgery for json