Fixed JSONMessageTask by testing it