The gson API. Thx to google