unify various pieces of packrat context sent from the server into a single json object