Refactored double array to arraylist (unjsonize)