encode one/many on add, decode on find