bugfix as_dict Issue #4
fixed situation when load balancer returns empty list, issue #18