Added underscore library; updated stringify in format.js to handle arrays and dictionaries/objects; changed queries to allow compound queries.