Revert "Removing gson support"

This reverts commit d997098fadc19faebc01a9d47a0ff43bd9ef13c4.