generates php from yaml config using haskell