fix order totals json spec