Got interface working, but i'd rather use JSON.