npm module: a promises/a compliant `when`, but for objects instead of arrays