added more methods for JSON testing