parse insertId field
correctly handle empty result queries
cleanup comments and debug output
insert query test
version bump