#12 - Add logic to import the payload from JSON.