Simple module with implemented rs.fetchAllAsJSON() method for result set and DISTANCE function for SQL statements