RewriteEngine On
RewriteRule ^/?(.*)$ index.php?url=$1&output_format=JSON [L,QSA]