def image_location_object_factory(image_id, location_id):
    """Cook up a fake imagelocation json object from given ids."""
    locationimage = {
        'image_id': image_id,
        'location_id': location_id
    }
    return locationimage