Support foreman api returning json list