A phase of validate is not valid for me.
Ports is not just a String in the JSON. It might only be a String when there are no port mappings.