modified simplecrud to more correctly add brackets around table and schema names