basic support for loading in vars from json packets