allow us to access page ids from search results
fix language support for json output