Fix spec to account for default JSON type