KAZOO-2461

instance_size(Instance) should be hidden behind check_valid_type(Instance, <<"string">>)

otherwise exception occurs while calling it with atom as an Instance variable