pre-parse array in GET for rest