add methods to construct insert/query/update strings from dicts