for (Object[] row : inputs)
{
@SuppressWarnings("unchecked")
DataMap map = new DataMap((Map<String,Object>) row[0]);
Foo foo = new Foo(map);
String raw = dataMapToString(map);
String noOrder = templateToString(foo, false);
String order = templateToString(foo, true);
/* out.println(noOrder);
out.println(order);