Rework the schema finder a little

* Use TypeNames instead of Strings
* Postpone JSONifying anything until the service layer
Add a few more rep types

* double for sqlrep
* object and array for sqlrep and jsonrep