interface now json for easier parsing