Do you need to serialize the object yourself? What would happen if you just used `ret` in the line below?