Simplified the json interface