use serialize for question attempt data