adds methods to acquire json data for url and timestamps