Add .json url for host-meta and fix host-meta problem of not having 'links'