paremetrize value and return tree map in get