rowToMap fix for java api
result.toListOfMaps for java api