added a terrible API for pulling json data