convert to dictionary using json.loads