use gson writer