adding tupleN ser/de support, tests and type inferance tests