Add Json Library

Add Json Library
Fix SaleLineItemDB class
add payment attribute in sale