Serializes a ResultSet to JSON