[api] [fix] Use jugglingDB types in persistence schemas instead of "string"
[test] JugglingDB has a "List" type that it uses instead of Array, so assert types against that instead of Array