added accelerator for JSON serialization
improved code for utility classes