Allow activity setters that accepted hash input to also accept string