convert tx metadata to dict, not list