This is going to break if we get a data bit longer than 4096, since we parse json