in the nested merge, sub-values may happen to be none

created a tiny function to ensure that these are removed.
Merge pull request #38 from plotly/andrew-fix-none-values

in the nested merge, sub-values may happen to be none