Add factory class to create json objects that can deal with bigdecimals
First bits of query test