fix typo
minor cleanup
force mode for bill-details
data and doc as json, workaround for clkao/pgrest#24