Adding gson. also added a test class and updated the pom file.