Correction in toJson method
Version 0.45
Added support to javascript Array to Query methods