Convert hash_like? & array_like? to ActiveSupport-style acts_like?