fix selfURL query string for multi-dimensional arrays