def image_course_object_factory(image_id, course_id):
    """Cook up a fake imagecourse json object from given ids."""
    courseimage = {
        'image_id': image_id,
        'course_id': course_id
    }
    return courseimage