modified the way we generate json results