Form grid layout direction.
decoder : Json.Decode.Decoder Direction
fromString : String -> Maybe Direction
toString : Direction -> String