Fixes a bug in `to-json-friendly` when `spec-tacular/spec` is present in the map, but is `nil`