[ finishes #54080837 ]

simplify preperties in spec before template evaluation.
when a hash has only nil values, remove those nil values. Those nil values comes from jobs' spec files when properties are defined but without default values. Cleanup those nil values make erb straight forward.