Changed album list to array instead of an associative array

It solves the issue of album sorting: json_encode now creates a list
instead of an object which can't be sorted.