changed JSON init format