FEATURE: search auto scopes on topic first
BUGFIX: search could break when expanding
Added endpoint for site JSON

Removed unneeded code