allows to pass a dict or a string if only one option for ppa()