Fix Post#normalize_document on Ruby 2.1 due to weird Array#to_h behaviour.