always transform objects to pointer in encodeParse, fix issue introduced in previous commit