Issue #653: Don't include empty phenotype metadata in the JSON export
Done.