Use utils from EntityTag instead of doing byte-manipulation myself