Parsing incoming data as JSON.