Don't render hash keys with nil values to JS