Append with method to_bson(encoded) for serialization