added json render to index (offers controller)