parse json data and convert to java object with gson