Properly return json array from getFeed method.