rename generic encoding function to cql_encode_all_types()