add some attribute conversion to the pickle adapter. fairly simplistic at the moment.