make migration use proper custom decoding