Several updates to NqGrid and NqJsonRest