Created a abstract crud and gson deserialization