now using gson to translate to json