json can't serialize map type, change to list