Load data works in terminal but in json api it returns empty - Ash Framework