apply unframed_no_script, introduce mysql_json and a better sql_json, plus stuff