Light query to object mapper