fix query mapping to go against individual objects rather than arrays
fix primary key mapping
version 0.2.4