def image_event_object_factory(image_id, event_id):
    """Cook up a fake imageevent json object from given ids."""
    eventimage = {
        'image_id': image_id,
        'event_id': event_id
    }
    return eventimage