added deserialization of decimals