made Model::to_array public static