Should've read the gson docs... I thought, it can't handle immutable objects.