Fixed #81 - improved handling of arrays in url