JSON.parse can throw, which is bad for node servers