add a generalized VASPCustodianTask based on to/from_dicts