Make exporter export in c-json as documented

Not perfect yet.  Known bugs:
  * if you exclude the user-defined row PK, it puts ":id" in the row_id
    field
  * it accepts (and ignores) nonexistant column names
  * possible to cause internal error by sending a bad request