fix encoding collection aggregate methods into JSON.
fix encoding collection aggregate methods into JSON.

endel/hook,itfrogs/hook,endel/hook,doubleleft/hook,doubleleft/hook,doubleleft/hook,itfrogs/hook,itfrogs/hook,itfrogs/hook,endel/hook,doubleleft/hook,endel/hook