fixing secondary request for json ejb exception