https://wptom.com/blog/fetch-a-json-endpoint-and-parse-the-data-in-javascript/