fixed ReturnJson dying on exception