json/dict to packet will now convert type when needed