changed code to get fdf data from pdf forms, added function to parse fdf data, data was sent to templates as dictionary