Support for JSON string query
closes #10