more async changes

 - added toJSON, toJSONSync, toList and toListSync helper methods
 - removed useless async / async query functions (data isn't expected to be loaded during these operations)