Update logic to find data.json

This pull request fixes #131