Add endpoints for random json and image