reversing earlier changes
using new `decode` client parameter