Used JSONSerializer.SERIALIZER_ID instead of hardcoded byte.