Fix new types and formating data at client side

Signed-off-by: Roger Manich <roger.manich@gmail.com>