before changing to gson