Upgraded to latest version of php-mf2.
Added a /mentions route.
Fixed encoding issues.
Fixed .as endpoint that was affected because of mf2 changes. Should make it more generic in the future.