add makeData utility function

Adds a makeData function in utility.js that processes neo4j results into an array of item objects.