Fixed incorrect stemming of -isation / -ise / -iser / -ised endings
Added JSON interface to query engine