Array based responses definition

Supports APIs that return different types with the same status code.