Resources array in serializer instead of int