Update yaml2json.hs

removed the unnecessary flag {-# LANGUAGE ScopedTypeVariables #-}
simplified the args processing
added type signature for showJSON
Merge pull request #55 from rayqiu/master

Update yaml2json.hs