Working on the new object encoder/decoder