introduced gson and added spock tests