Angular Typescript Map Object Is Not Subscriptable In Python