added streamlined json output for downstream processing
working lsa querying for pairs