jsonify template filter, list of id fetching, other various improvements