Typescript Map Key Array Php Format Mysql