fix joins
convert ->Record and map->Record to java constructors where necessary
Merge pull request #198 from sorenmacbeth/develop

Fix Joins