a simple json api for the road client