Added toQuery to chain result into JsonQuery object for complex query
Rename menthid toQuery to toJQ