updated to handle json

Added json file and ability to read it.