LPS-32400 - Add convertBlockElement to FunctionConverter
LPS-32400 SF
LPS-32400 Since the method now is hard coded to "function", the method name is really not appropriate. Make it so that we can reuse this method later and rename it appropriately.
LPS-32400 Move stuff into templates where it makes sense because it's easier to maintain