divide query() and queryByArray() in different methods. Fully remove of queryByJson support. It's not part of the core